﻿using System;
using MyBasicLib; 
using MyBasicLib.Data.ORMLiteNew;
namespace RUC.Core.Entities
{
    public interface ITable1 
    {
        String Id { get; set; }
    }
    [Table(TableName = "App1", KeyName = "Id")]
    public partial class App1:App
    { }
    /// <summary>
    /// 
    /// </summary>
    [Table(TableName = "App", KeyName = "Id")] 
    [Serializable]
    public partial class App:ITable1
    {
        /// <summary>
        /// (App)
        /// </summary>
        public App()
        {
          //  Id= NativeMethods.UuidCreateSequential() ;
        } 
        #region Public Properties 
        
        /// <summary>
        /// 应用Id
        /// </summary>
        public String Id
        {
            set ;
            get ;
        }     
        /// <summary>
        /// 名称
        /// </summary>
        public string Name
        {
            set ;
            get ;
        }  
        /// <summary>
        /// 创建日期
        /// </summary>
        [DbGenerated]
        public System.DateTime Created
        {
            set;
            get;
        }
        //public int? Num
        //{
        //    set;
        //    get;
        //}     
        #endregion
    }
}